/*    */ package eos.moe.dragoncore;
/*    */ 
/*    */ import java.util.List;
/*    */ import net.minecraft.client.renderer.GlStateManager;
/*    */ import net.minecraft.util.math.Vec3d;
/*    */ import org.yaml.snakeyamla.configuration.ConfigurationSection;
/*    */ 
/*    */ public class vu
/*    */ {
/*    */   private Vec3d i;
/*    */   private Vec3d w;
/*    */   private Vec3d q;
/*    */   private boolean g;
/*    */   
/*    */   public vu(ConfigurationSection configurationSection) {
/* 16 */     if (configurationSection == null) {
/*    */       return;
/*    */     }
/*    */ 
/*    */     
/* 21 */     List<Double> list = configurationSection.getDoubleList("rotation");
/* 22 */     if (list.size() == 3) {
/* 23 */       this.i = new Vec3d(((Double)list.get(0)).doubleValue(), ((Double)list.get(1)).doubleValue(), ((Double)list.get(2)).doubleValue());
/*    */     }
/* 25 */     list = configurationSection.getDoubleList("translation");
/* 26 */     if (list.size() == 3) {
/* 27 */       this.w = new Vec3d(((Double)list.get(0)).doubleValue(), ((Double)list.get(1)).doubleValue(), ((Double)list.get(2)).doubleValue());
/*    */     }
/* 29 */     list = configurationSection.getDoubleList("scale");
/* 30 */     if (list.size() == 3) {
/* 31 */       this.q = new Vec3d(((Double)list.get(0)).doubleValue(), ((Double)list.get(1)).doubleValue(), ((Double)list.get(2)).doubleValue());
/*    */     }
/* 33 */     this.g = configurationSection.getBoolean("animation");
/*    */   }
/*    */   
/*    */   public void v() {
/* 37 */     if (this.i != null) {
/* 38 */       GlStateManager.func_179114_b((float)this.i.field_72450_a, 1.0F, 0.0F, 0.0F);
/* 39 */       GlStateManager.func_179114_b((float)this.i.field_72448_b, 0.0F, 1.0F, 0.0F);
/* 40 */       GlStateManager.func_179114_b((float)this.i.field_72449_c, 0.0F, 0.0F, 1.0F);
/*    */     } 
/*    */     
/* 43 */     if (this.w != null) {
/* 44 */       GlStateManager.func_179137_b(this.w.field_72450_a, this.w.field_72448_b, this.w.field_72449_c);
/*    */     }
/* 46 */     if (this.q != null) {
/* 47 */       GlStateManager.func_179139_a(this.q.field_72450_a, this.q.field_72448_b, this.q.field_72449_c);
/*    */     }
/*    */   }
/*    */   
/*    */   public boolean v() {
/* 52 */     return this.g;
/*    */   }
/*    */ }


/* Location:              D:\fanbian\[D][龙之核心]DragonCore-2.6.0.3.jar!\eos\moe\dragoncore\vu.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       1.1.3
 */